package com.yishan.domain;

/**
 * @Author yishan
 * @Date 2021/5/5 0005 18:08
 * @Version 1.0
 */
public class Module {

	private String id;
	private String parent_id; //所属模块id
	private String parent_name; //上级模块
	private String name;       //名称
	private long ctype;        //菜单级别
	private String state;       //状态
	private String curl;        //请求url(用户权限校验)
	private String remark;      //描述

	private Module module;


	@Override
	public String toString() {
		return "Module{" +
				"id='" + id + '\'' +
				", parent_id='" + parent_id + '\'' +
				", parent_name='" + parent_name + '\'' +
				", name='" + name + '\'' +
				", ctype=" + ctype +
				", state='" + state + '\'' +
				", curl='" + curl + '\'' +
				", remark='" + remark + '\'' +
				", module=" + module +
				'}';
	}

	public Module() {
	}

	public Module(String id, String parent_id, String parent_name, String name, long ctype, String state, String curl, String remark,
			Module module) {
		this.id = id;
		this.parent_id = parent_id;
		this.parent_name = parent_name;
		this.name = name;
		this.ctype = ctype;
		this.state = state;
		this.curl = curl;
		this.remark = remark;
		this.module = module;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getParent_id() {
		return parent_id;
	}

	public void setParent_id(String parent_id) {
		this.parent_id = parent_id;
	}

	public String getParent_name() {
		return parent_name;
	}

	public void setParent_name(String parent_name) {
		this.parent_name = parent_name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getCtype() {
		return ctype;
	}

	public void setCtype(long ctype) {
		this.ctype = ctype;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getCurl() {
		return curl;
	}

	public void setCurl(String curl) {
		this.curl = curl;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Module getModule() {
		return module;
	}

	public void setModule(Module module) {
		this.module = module;
	}
}

